package com.iaf.in;

public class Table {

	private int number;

	public Table(int n) {
		this.number = n;
		printTable();
	}

	void printTable() {
		for (int i = 1; i <= 10; i++) {

			System.out.println(this.number + " * " + i + " = " + i * this.number);

		}
	}

	public static void main(String[] args) {
		new Table(6);
	}
}
